<!DOCTYPE html>
<html>
{{template "inc_bodyHead" .Info.Title}}
<body>

{{template "inc_header" .}}

<div id="main">

    <div id="main-inner">


        <div id="article-blocks" class="clouds">

            <div class="article-block">

                <h2 class="title read-title">
                    <a href="/read/{{.Info.Id}}">{{.Info.TitleHtml}}</a>
                </h2>

                <p class="meta">
                    分类：{{.Info.PostTypeHtml}} |
                    <!--<a href="">评论(5)</a> |-->
                    阅读({{.Info.ReadNum}}) |
                    发布于：{{.Info.FmtShowTime}}
                </p>

                <article>
                {{.Info.ContentHtml}}
                </article>

                <p class="extension">
                    标签：<span class="tags">{{range .Info.Tags}}<a href="/search/tag/{{.Name}}" class="tag">{{.Name}}</a>{{else}}无{{end}}</span>
                </p>

                <div class="link-qrcode">
                    <p id="qrcode">二维码生成中...</p>
                    <span>扫码阅读</span>
                </div>

            </div>

        </div>

        <div id="SOHUCS" sid="{{.Info.Id}}"></div>
        <script charset="utf-8" type="text/javascript" src="https://changyan.sohu.com/upload/changyan.js" ></script>
        <script type="text/javascript">window.changyan.api.config({appid: 'cyt8fiuS6',conf: 'prod_dd08e8e8d36dc7c2c6867f32c81b3753'});</script>

        <!--
        <div id="comment-cloud" class="clouds">
            <h3 class="clouds-title">评论</h3>
            <div class="comments">
            </div>
        </div>
        -->

    </div>
</div>

{{template "inc_footer" .}}

<script type="text/javascript" src="/js/jquery.qrcode.min.js"></script>
<script>
    $(function(){
        //详见http://www.jq22.com/jquery-info294
        $('#qrcode').html("").qrcode({
            render: "canvas", //也可以替换为table
            width: 120,
            height: 120,
            foreground: "#3d464d",
            background: "#FFF",
            text: {{.QRUrl}}
        });
    })
</script>
</body>
</html>